package com.ChainBizPro.system.model.dto.Order;

import com.ChainBizPro.system.common.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单查询请求
 *
 * @author liusijia
 */
@ApiOperation("订单查询请求")
@EqualsAndHashCode(callSuper = true)
@Data
public class OrdersQueryRequest extends PageRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID", required = true)
    private Integer orderId;
    /**
     * 供应商ID
     */
    @ApiModelProperty(value = "供应商ID", required = true)
    private Long supplierId;
    /**
     * 供应商名称
     */
    @ApiModelProperty(value = "供应商名称", required = true)
    private String supplierName;
    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称", required = true)
    private String productName;
    /**
     * 商品数量
     */
    @ApiModelProperty(value = "商品数量", required = true)
    private Integer quantity;
    /**
     * 商品单价
     */
    @ApiModelProperty(value = "商品单价", required = true)
    private BigDecimal unitPrice;
    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态", required = true)
    private Object status;

}